package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 商家(门店)
 * @author Rongjie
 */
@Data
@TableName("mall_store")
@KeySequence(value = "mall_store_SEQ")
@ApiModel(value = "MallStore对象")
public class MallStore implements Serializable{

       @ApiModelProperty(value = "appKey")
       private String appKey;

       @TableId(value = "store_key", type = IdType.UUID)
       @ApiModelProperty(value = "小店KEY")
       private String storeKey;

       @ApiModelProperty(value = "申请人来源KEY")
       private String applySourceKey;

       @ApiModelProperty(value = "申请来源类型: USER/ADMIN/API")
       private String applySoureType;

       @ApiModelProperty(value = "名称")
       private String storeName;

       @ApiModelProperty(value = "商家电话")
       private String tel;

       @ApiModelProperty(value = "省份")
       private String province;

       @ApiModelProperty(value = "城市")
       private String city;

       @ApiModelProperty(value = "商家地址")
       private String address;

       @ApiModelProperty(value = "收货地址")
       private String shippingAddress;

       @ApiModelProperty(value = "PENDING:未审核  ACTIVE: 审核成功 REJECT 审核失败")
       private String status;

       @ApiModelProperty(value = "审核信息")
       private String auditMsg;

       @ApiModelProperty(value = "审核时间")
       private Date auditTime;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "经度")
       private String longitude;

       @ApiModelProperty(value = "纬度")
       private String latitude;

       @ApiModelProperty(value = "描述")
       private String description;

}
